import { lazy } from "react";
import { IRouter } from "../index";

const otherRoutes: IRouter[] = [
  {
    path: "/403",
    meta: {
      title: "403",
      hidden: true,
      requiredRole: "user",
    },
    Component: lazy(() => import("pages/Result/403")),
  },
  {
    path: "/500",
    meta: {
      title: "500",
      hidden: true,
      requiredRole: "user",
    },
    Component: lazy(() => import("pages/Result/500")),
  },
  {
    path: "*",
    meta: {
      title: "404",
      hidden: true,
      requiredRole: "user",
    },
    Component: lazy(() => import("pages/Result/404")),
  },
];

export default otherRoutes;
